package com.xunlai.infra.permission.business.vo.poster;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.xunlai.infra.permission.business.vo.route.RouteScheduleVo;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author liang
 * @date 8/7/23 9:53 PM
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PosterTemplateListVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1656496437739470213L;

    private Long id;

    private String posterName;

//    private String posterContent;

    private String posterContentUri;

    private Long posterType;

    private String typeName;

    private String posterImg;

    private Long createUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    private String posterTemplateNo;

    private Boolean paid;

    private Boolean hadPaid;

    private Boolean collected;

    private Integer useNumber;

}
